package com.guoranhao.business;

import com.alibaba.dubbo.spring.boot.annotation.EnableDubboConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
@EnableDubboConfiguration
@PropertySource({"classpath:common.properties"})
@ComponentScan(basePackages = {"com.guoranhao"})
@MapperScan("com.guoranhao.business.dao")
public class GuoranhaoBusinessApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuoranhaoBusinessApplication.class, args);
        System.out.println("START SUCCESS~!");
    }
}
